/*
 * @LastEditors: 杜康
 * @LastEditTime: 2021-10-11 16:08:18
 */
const { src, dest } = require('gulp')
const babel = require('gulp-babel')
const uglify = require('gulp-uglify')

exports.default = function () {
    return src('src/*.js')
        .pipe(babel())
        .pipe(src('vendor/*.js'))
        .pipe(uglify())
        .pipe(dest('output/'))
}